Skip to content

Improve parallelism of Lock operations#1480

Open
VictorCavichioli wants to merge 6 commits intoEricsson:agent/masterfrom
VictorCavichioli:fix/jobs-late
Open

Improve parallelism of Lock operations#1480
VictorCavichioli wants to merge 6 commits intoEricsson:agent/masterfrom
VictorCavichioli:fix/jobs-late

Conversation

@VictorCavichioli
Copy link
Copy Markdown
Collaborator

No description provided.

@VictorCavichioli VictorCavichioli requested a review from a team as a code owner April 10, 2026 13:52
@codecov-commenter
Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (agent/master@3f11290). Learn more about missing BASE report.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@               Coverage Diff               @@
##             agent/master    #1480   +/-   ##
===============================================
  Coverage                ?   54.33%           
  Complexity              ?     1408           
===============================================
  Files                   ?      194           
  Lines                   ?     8736           
  Branches                ?      845           
===============================================
  Hits                    ?     4747           
  Misses                  ?     3717           
  Partials                ?      272           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

tommystendahl
tommystendahl previously approved these changes Apr 10, 2026
tommystendahl
tommystendahl previously approved these changes Apr 22, 2026
private void throwCachedLockException(final LockException e) throws LockException
{
LOG.debug("Encountered cached locking failure, throwing exception", e);
LOG.info("[DIAG] Lock blocked by cached failure: {}", e.getMessage());
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the idea with these [DIAG] log entries? Are they temporary for this PR? I mean, going from DEBUG to INFO and attaching a DIAG tag...

private void throwCachedLockException(final LockException e) throws LockException
{
LOG.debug("Encountered cached locking failure, throwing exception", e);
LOG.info("[DIAG] Lock blocked by cached failure: {}", e.getMessage());
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, don't do e.getMessage(). It will only print the message, it dosen't tell you what the exception was. Remove to {} and do just e the way it was before, that will give you the expetion, the message and the stack trace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants